<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>baseheader</title>
</head>
<body>
    <div th:fragment="baseheader">
        <div class="top" style="margin: 5px;height:30px">
            <div align="left" style="float: left;width: 70%">
                <a href="/monitor/index">首页</a>
                <a href="/monitor/AccessTestConfig">检测程序配置</a>
            </div>
            <div align="right" style="float: right;width: 30%">
                <label>userName:</label>
                <input type="text" name="userName" th:value="${userName}" readonly="true"/>
                <button onclick="fnlogout()" type="button" class="btn-log" style="vertical-align:middle"><span>退出登录</span></button>
            </div>
        </div>
    </div>
</body>
</html>